package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论表 cms_comment
 * 
 * @author ruoyi
 * @date 2019-05-30
 */
public class CmsComment extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Long commentId;
	/** 评论内容 */
	private String content;
	/** 文章ID */
	private Long articleTo;
	/** 评论ID */
	private Long commentTo;
	/** 是否可见 */
	private Integer enableFlag;

	public void setCommentId(Long commentId) 
	{
		this.commentId = commentId;
	}

	public Long getCommentId() 
	{
		return commentId;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setArticleTo(Long articleTo) 
	{
		this.articleTo = articleTo;
	}

	public Long getArticleTo() 
	{
		return articleTo;
	}
	public void setCommentTo(Long commentTo) 
	{
		this.commentTo = commentTo;
	}

	public Long getCommentTo() 
	{
		return commentTo;
	}
	public void setEnableFlag(Integer enableFlag) 
	{
		this.enableFlag = enableFlag;
	}

	public Integer getEnableFlag() 
	{
		return enableFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("content", getContent())
            .append("articleTo", getArticleTo())
            .append("commentTo", getCommentTo())
            .append("enableFlag", getEnableFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
